package com.xy.core.service.impl;


import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.xy.common.page.Pagination;
import com.xy.core.dao.TdictionarytypeDao;
import com.xy.core.model.Tdictionarytype;
import com.xy.core.service.TdictionarytypeService;
import com.xy.core.util.BeanUtil;

@Service
@Transactional
public class TdictionarytypeServiceImpl extends BaseServiceImpl<Tdictionarytype> implements
		TdictionarytypeService {
	private TdictionarytypeDao tdictionarytypeDao;

	public TdictionarytypeServiceImpl(TdictionarytypeDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.tdictionarytypeDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return tdictionarytypeDao.checkExist("Tdictionarytype", paraName, paraValue);
	}

	@Override
	public List<Tdictionarytype> getTdictionarytype(Map<String, Object> map) {
		return tdictionarytypeDao.getTdictionarytype(map);
	}
	@Override
	public Pagination getTdictionarytypeByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return tdictionarytypeDao.getTdictionarytypeByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Tdictionarytype save(Tdictionarytype tdictionarytype) {return super.save(tdictionarytype);}
}